home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1998 November / Freeware November 1998.img / dist / fw_emacs.idb / usr / freeware / info / viper-4.z / viper-4 (.txt)
GNU Info File  |  1998-10-27  |  47KB  |  932 lines

  1. This is Info file ../info/viper, produced by Makeinfo-1.63 from the
  2. input file viper.texi.
  3. Distribution
  4. ************
  5. Copyright (C) 1995, 1996 Free Software Foundation, Inc.
  6.    Permission is granted to make and distribute verbatim copies of this
  7. manual provided the copyright notice and this permission notice are
  8. preserved on all copies.
  9.    Permission is granted to copy and distribute modified versions of
  10. this manual under the conditions for verbatim copying, provided that
  11. the entire resulting derived work is distributed under the terms of a
  12. permission notice identical to this one.
  13.    Permission is granted to copy and distribute translations of this
  14. manual into another language, under the same conditions as for modified
  15. versions.
  16. File: viper,  Node: Display,  Next: File and Buffer Handling,  Prev: Text Handling,  Up: Commands
  17. Display
  18. =======
  19. `C-g'
  20.      At user level 1, give file name, status, current line number and
  21.      relative position.
  22.      At user levels 2 and higher, abort the current command.
  23. `C-c g'
  24.      Give file name, status, current line number and relative position
  25.      - all user levels.
  26. `C-l'
  27.      Refresh the screen.
  28. `<count> C-e'
  29.      Expose <count> more lines at bottom, cursor stays put (if
  30.      possible).
  31. `<count> C-y'
  32.      Expose <count> more lines at top, cursor stays put (if possible).
  33. `<count> C-d'
  34.      Scroll <count> lines downward (default the number of the previous
  35.      scroll; initialization: half a page).
  36. `<count> C-u'
  37.      Scroll <count> lines upward (default the number of the previous
  38.      scroll; initialization: half a page).
  39. `<count> C-f'
  40.      <count> pages forward.
  41. `<count> C-b'
  42.      <count> pages backward (in older versions `C-b' only works without
  43.      count).
  44. `<count> z<cr>'
  45.      Put line <count> at the top of the window (default the current
  46.      line).
  47. `<count> z-'
  48.      Put line <count> at the bottom of the window (default the current
  49.      line).
  50. `<count> z.'
  51.      Put line <count> in the center of the window (default the current
  52.      line).
  53. File: viper,  Node: File and Buffer Handling,  Next: Mapping,  Prev: Display,  Up: Commands
  54. File and Buffer Handling
  55. ========================
  56.    In all file handling commands, space should be typed before entering
  57. the file name. If you need  to type a modifier, such as `>>' or `!',
  58. don't put any space between the command and the modifier.
  59.      Quit buffer except if modified.
  60. `:q!'
  61.      Quit buffer without checking. In Viper, these two commands are
  62.      identical. Confirmation is required if exiting modified buffers
  63.      that visit files.
  64. `:susp'
  65. `:stop'
  66.      Suspend Viper
  67. `:[x,y] w'
  68.      Write the file. Viper nakes sure that a final newline is always
  69.      added to any file where this newline is missing. This is done by
  70.      setting Emacs variable `require-final-newline' to `t'. If you
  71.      don't like this feature, use `setq-default' to set
  72.      `require-final-newline' to `nil'. This must be done either in
  73.      `.vip' file or in `.emacs' after Viper is loaded.
  74. `:[x,y] w <name>'
  75.      Write to the file <name>.
  76. `:[x,y] w>> <name>'
  77.      Append the buffer to the file <name>.  There should be no space
  78.      between `w' and `>>'. Type space after the `>>' and see what
  79.      happens.
  80. `:w! <name>'
  81.      Overwrite the file <name>. In Viper, `:w' and `:w!' are identical.
  82.      Confirmation is required for writing to an existing file (if this
  83.      is not the file the buffer is visiting) or to a read-only file.
  84. `:x,y w <name>'
  85.      Write lines x through y to the file <name>.
  86. `:wq'
  87.      Write the file and kill buffer.
  88. `:r <file> [<file> ...]'
  89.      Read file into a buffer, inserting its contents after the current
  90.      line.
  91. `:xit'
  92.      Same as `:wq'.
  93.      Save unsaved buffers, asking for confirmation.
  94. `:WW'
  95.      Like `W', but without asking for confirmation.
  96.      Save current buffer and kill it. If user level is 1, then save all
  97.      files and kill Emacs. Killing Emacs is the wrong way to use it, so
  98.      you should switch to  higher user levels as soon as possible.
  99. `:x [<file>]'
  100.      Save and kill buffer.
  101. `:x! [<file>]'
  102.      `:w![<file>]' and `:q'.
  103. `:pre'
  104.      Preserve the file - autosave buffers.
  105. `:rec'
  106.      Recover file from autosave.
  107.      Print file name and lines.
  108. `:cd [<dir>]'
  109.      Set the working directory to <dir> (default home directory).
  110. `:pwd'
  111.      Print present working directory.
  112. `:e [+<cmd>] <files>'
  113.      Edit files. If no filename is given, edit the file visited by the
  114.      current buffer. If buffer was modified or the file changed on
  115.      disk, ask for confirmation. Unlike Vi, Viper allows `:e' to take
  116.      multiple arguments.  The first file is edited the same way as in
  117.      Vi. The rest are visited in the usual Emacs way.
  118. `:e! [+<cmd>] <files>'
  119.      Re-edit file. If no filename, reedit current file.  In Viper,
  120.      unlike Vi, `e!' is identical to `:e'. In both cases, the user is
  121.      asked to confirm if there is a danger of discarding changes to a
  122.      buffer.
  123. `:q!'
  124.      Quit Vi without writing.
  125. `C-^'
  126.      Edit the alternate (normally the previous) file.
  127. `:rew'
  128.      Obsolete
  129. `:args'
  130.      List files not shown anywhere with counts for next
  131. `:n [count]  [+<cmd>] [<files>]'
  132.      Edit <count> file, or edit files. The count comes from :args.
  133. `:N [count] [+<cmd>] [<files>]'
  134.      Like `:n', but the meaning of the variable EX-CYCLE-OTHER-WINDOW
  135.      is reversed.
  136.      Switch to another buffer. If EX-CYCLE-OTHER-WINDOW is `t', switch
  137.      in another window. Buffer completion is supported.
  138.      Like `:b', but the meaning of EX-CYCLE-OTHER-WINDOW is reversed.
  139. `:<address>r <name>'
  140.      Read the file <name> into the buffer after the line <address>.
  141. `v, V, C-v'
  142.      Edit a file in current or another window, or in another frame.
  143.      File name is typed in Minibuffer. File completion and history are
  144.      supported.
  145. File: viper,  Node: Mapping,  Next: Shell Commands,  Prev: File and Buffer Handling,  Up: Commands
  146. Mapping
  147. =======
  148. `:map <string>'
  149.      Start defining a Vi-style keyboard macro.   For instance, typing
  150.      `:map www' followed by `:!wc %' and then typing `C-x )'  will
  151.      cause `www' to run wc on  current file (Vi replaces `%' with the
  152.      current file name).
  153. `C-x )'
  154.      Finish defining a keyboard macro.   In Viper, this command
  155.      completes the process of defining all keyboard macros, whether
  156.      they are Emacs-style or Vi-style.  This is a departure from Vi,
  157.      needed to allow WYSIWYG mapping of keyboard macros and to permit
  158.      the use of function keys and arbitrary Emacs functions in the
  159.      macros.
  160. `:unmap <string>'
  161.      Deprive <string> of its mappings in Vi state.
  162. `:map! <string>'
  163.      Map a macro for Insert state.
  164. `:unmap! <string>'
  165.      Deprive <string> of its mapping in Insert state (see `:unmap').
  166. `@<a-z>'
  167.      In Vi state,  execute the contents of register as a command.
  168.      In Vi state,  repeat last register command.
  169.      In Vi state,  begin keyboard macro. End with @<a-z>. This will
  170.      put the macro in the proper register. Register will  be
  171.      automatically downcased.   *Note Macros and Registers::, for more
  172.      info.
  173. `@!<a-z>'
  174.      In Vi state,  yank anonymous macro to register
  175.      In Vi state,  execute anonymous macro (defined by C-x( and C-x )).
  176. `C-x e'
  177.      Like `*', but works in all Viper states.
  178. `#g<move>'
  179.      Execute the last keyboard macro for each line in the region.
  180.      *Note Macros and Registers::, for more info.
  181. `[<a-z>'
  182.      Show contents of textmarker.
  183. `]<a-z>'
  184.      Show contents of register.
  185. File: viper,  Node: Shell Commands,  Next: Options,  Prev: Mapping,  Up: Commands
  186. Shell Commands
  187. ==============
  188.    Note that % is used in Ex commands to mean current file. If you want
  189. a % in your command, it must be escaped as `\%'.  However if % is the
  190. first character, it stands as the address for the whole file.
  191. Similarly, `#' expands to the previous file. The previous file is the
  192. first file in `:args' listing. This defaults to the previous file in
  193. the VI sense if you have one window.
  194. `:sh'
  195.      Execute a subshell in another window
  196. `:[x,y]!<cmd>'
  197.      Execute a shell <cmd> [on lines x through y; % is replace by
  198.      current file, \% is changed to %
  199. `:[x,y]!! [<args>]'
  200.      Repeat last shell command [and append <args>].
  201. `:!<cmd>'
  202.      Just execute command and display result in a buffer.
  203. `:!! <args>'
  204.      Repeat last shell command and append <args>
  205. `<count> !<move><cmd>'
  206.      The shell executes <cmd>, with standard input the lines described
  207.      by <count><move>, next the standard output replaces those lines
  208.      (think of `cb', `sort', `nroff', etc.).
  209. `<count> !!<cmd>'
  210.      Give <count> lines as standard input to the shell <cmd>, next let
  211.      the standard output replace those lines.
  212. `:[x,y] w !<cmd>'
  213.      Let lines x to y be standard input for <cmd> (notice the <sp>
  214.      between `w' and `!').
  215. `:<address>r !<cmd>'
  216.      Put the output of <cmd> after the line <address> (default current).
  217. `:<address>r <name>'
  218.      Read the file <name> into the buffer after the line <address>
  219.      (default current).
  220. File: viper,  Node: Options,  Next: Emacs Related Commands,  Prev: Shell Commands,  Up: Commands
  221. Options
  222. =======
  223.      autoindent - In append mode after a <cr> the cursor will move
  224.      directly below the first CHAR on the previous line.
  225.      ignorecase - No distinction between upper and lower cases when
  226.      searching.
  227. `magic'
  228.      Regular expressions used in searches; nomagic means no regexps.
  229.      readonly - The file is not to be changed.  If the user attempts to
  230.      write to this file, confirmation will be requested.
  231. `sh=<string>'
  232.      shell - The program to be used for shell escapes (default `$SHELL'
  233.      (default `/bin/sh')).
  234. `sw=<count>'
  235.      shiftwidth - Gives the shiftwidth (default 8 positions).
  236.      showmatch - Whenever you append a `)', Vi shows its match if it's
  237.      on the same page; also with `{' and `}'.  If there's no match, Vi
  238.      will beep.
  239. `ts=<count>'
  240.      tabstop - The length of a <ht>; warning: this is only IN the
  241.      editor, outside of it <ht>s have their normal length (default 8
  242.      positions).
  243. `wm=<count>'
  244.      wrapmargin - In append mode Vi automatically puts a <lf> whenever
  245.      there is a <sp> or <ht> within <wm> columns from the right margin.
  246.      wrapscan - When searching, the end is considered `stuck' to the
  247.      begin of the file.
  248. `:set <option>'
  249.      Turn <option> on.
  250. `:set no<option>'
  251.      Turn <option> off.
  252. `:set <option>=<value>'
  253.      Set <option> to <value>.
  254. File: viper,  Node: Emacs Related Commands,  Prev: Options,  Up: Commands
  255. Emacs Related Commands
  256. ======================
  257.      Begin Meta command in Vi state. Most often used as _x (M-x).
  258. `C-z'
  259.      Begin Meta command in Insert state.
  260. `C-z'
  261.      Switch between Emacs and Vi states.
  262. `C-x0'
  263.      Close Window
  264. `C-x1'
  265.      Close Other Windows
  266. `C-x2'
  267.      Split Window
  268. `C-xo'
  269.      Move among windows
  270. `C-xC-f'
  271.      Emacs find-file, useful in Insert state
  272. `C-y'
  273.      Put back the last killed text. Similar to Vi's `p', but also works
  274.      in Insert and Replace state. This command doesn't work in Vi
  275.      command state, since this binding is taken for something else.
  276. `M-y'
  277.      Undoes the last `C-y' and puts another kill from the kill ring.
  278.      Using this command, you can try may different kills until you find
  279.      the one you need.
  280. File: viper,  Node: Mouse-bound Commands,  Up: Commands
  281. Mouse-bound Commands
  282. ====================
  283.    The following two mouse actions are normally bound to to special
  284. search and insert commands in of Viper:
  285. `S-mouse-1 (Emacs)'
  286. `meta button1up (XEmacs)'
  287.      Holding Shift (or Meta, if XEmacs) and clicking mouse button 1 will
  288.      initiate search for a region under the mouse pointer.  This
  289.      command can take a prefix argument. Note: Viper sets this binding
  290.      only if this mouse action is not already bound to something else.
  291.      *Note Viper Specials::, for more information.
  292. `S-mouse-2 (Emacs)'
  293. `meta button2up (XEmacs)'
  294.      Holding Shift (or Meta, if XEmacs) and clicking button 2 of the
  295.      mouse will insert a region surrounding the mouse pointer.  This
  296.      command can also take a prefix argument.  Note: Viper sets this
  297.      binding only if this mouse action is not already bound to
  298.      something else.  *Note Viper Specials::, for more details.
  299. File: viper,  Node: Acknowledgments,  Up: Top
  300. Acknowledgments
  301. ***************
  302.    Viper, formerly known as VIP-19, was written by Michael Kifer. Viper
  303. is based on the original VIP package by Masahiko Sato and on its
  304. enhancement, VIP 4.4, by Aamod Sane. This manual is an adaptation of
  305. the manual for VIP 4.4, which, in turn, was based on Sato's manual for
  306. VIP 3.5.
  307.    Many contributors on the net pointed out bugs and suggested a number
  308. of useful features. Here is a (hopefully) complete list of contributors:
  309.      jjm@hplb.hpl.hp.com (Jean-Jacques Moreau), jl@cse.ogi.edu (John
  310.      Launchbury), rxga@ulysses.att.com, jamesm@bga.com (D.J. Miller II),
  311.      ascott@fws214.intel.com (Andy Scott), toma@convex.convex.com,
  312.      dave@hellgate.utah.edu, cook@biostat.wisc.edu
  313.      (Tom Cook), lindstro@biostat.wisc.edu (Mary Lindstrom),
  314.      edmonds@edmonds.home.cs.ubc.ca (Brian Edmonds), mveiga@dit.upm.es
  315.      (Marcelino Veiga Tuimil), dwight@toolucky.llnl.gov (Dwight Shih),
  316.      phil_brooks@MENTORG.COM (Phil Brooks), kin@isi.com (Kin Cho),
  317.      ahg@panix.com (Al Gelders), dwallach@cs.princeton.edu (Dan Wallach),
  318.      hpz@ibmhpz.aug.ipp-garching.mpg.de (Hans-Peter Zehrfeld),
  319.      simonb@prl.philips.co.uk (Simon Blanchard), Mark.Bordas@East.Sun.COM
  320.      (Mark Bordas), gviswana@cs.wisc.edu (Guhan Viswanathan),
  321.      meyering@comco.com (Jim Meyering), pfister@cs.sunysb.edu (Hanspeter
  322.      Pfister),  amade@diagram.fr (Paul-Bernard Amade),
  323.      jackr@dblues.engr.sgi.com (Jack Repenning),
  324.      pogrell@informatik.hu-berlin.de (Lutz Pogrell),
  325.      csdayton@midway.uchicago.edu (Soren Dayton),
  326.      pradyut@cs.uchicago.edu (Pradyut Shah),
  327.      vrenjak@sun1.racal.com (Milan Vrenjak),
  328.      gvr@halcyon.com (George V. Reilly),
  329.      whicken@dragon.parasoft.com (Wendell Hicken),
  330.      terra@diku.dk (Morten Welinder),
  331.      kanze@gabi-soft.fr (James Kanze),
  332.      hatazaki@bach.convex.com (Takao Hatazaki),
  333.      sawdey@lcse.umn.edu (Aaron Sawdey),
  334.      jobrien@hchp.org (John O'Brien),
  335.      mrb@Eng.Sun.COM (Martin Buchholz)
  336. File: viper,  Node: Key Index,  Next: Function Index,  Up: Top
  337. Key Index
  338. *********
  339. * Menu:
  340. * <a-z>:                                Groundwork.
  341. * <address>:                            Groundwork.
  342. * <args>:                               Groundwork.
  343. * <cmd>:                                Groundwork.
  344. * <move>:                               Groundwork.
  345. * "<a-z1-9>p <1>:                       Yanking.
  346. * "<a-z1-9>p:                           Appending Text.
  347. * "<A-Z>y<move>:                        Yanking.
  348. * #C<move>:                             Changing Text.
  349. * #c<move>:                             New Commands.
  350. * #g<move> <1>:                         Mapping.
  351. * #g<move> <1>:                         Search and Replace.
  352. * #g<move>:                             New Commands.
  353. * #q<move> :                            Changing Text.
  354. * #q<move>:                             New Commands.
  355. * #s<move>:                             New Commands.
  356. * #:                                    New Commands.
  357. * $:                                    Move Commands.
  358. * % <1>:                                Search and Replace.
  359. * %:                                    Move Commands.
  360. * & <1>:                                Search and Replace.
  361. * &:                                    Changing Text.
  362. * " <1>:                                Marking.
  363. * ":                                    Move Commands.
  364. * '<a-z> <1>:                           Marking.
  365. * '<a-z>:                               Move Commands.
  366. * (:                                    Move Commands.
  367. * ):                                    Move Commands.
  368. * * <1>:                                Mapping.
  369. * *:                                    New Commands.
  370. * +:                                    Move Commands.
  371. * ,:                                    Move Commands.
  372. * -:                                    Move Commands.
  373. * . <1>:                                Undoing.
  374. * .:                                    Appending Text.
  375. * /<cr>:                                Move Commands.
  376. * /<string> <1>:                        Search and Replace.
  377. * /<string>:                            Move Commands.
  378. * 0:                                    Move Commands.
  379. * ;:                                    Move Commands.
  380. * <<move>:                              Deleting Text.
  381. * <<:                                   Deleting Text.
  382. * <cr>:                                 Move Commands.
  383. * <lf>:                                 Move Commands.
  384. * <sp>:                                 Move Commands.
  385. * =<move>:                              Changing Text.
  386. * ><move>:                              Appending Text.
  387. * >>:                                   Appending Text.
  388. * ?<cr>:                                Move Commands.
  389. * ?<string> <1>:                        Search and Replace.
  390. * ?<string>:                            Move Commands.
  391. * @!<a-z>:                              Mapping.
  392. * @!:                                   New Commands.
  393. * @# <1>:                               Mapping.
  394. * @#:                                   New Commands.
  395. * @<a-z> <1>:                           Mapping.
  396. * @<a-z>:                               New Commands.
  397. * @@:                                   Mapping.
  398. * {:                                    Move Commands.
  399. * }:                                    Move Commands.
  400. * [<a-z> <1>:                           Mapping.
  401. * [<a-z> <1>:                           Yanking.
  402. * [<a-z> <1>:                           Appending Text.
  403. * [<a-z> <1>:                           Move Commands.
  404. * [<a-z>:                               New Commands.
  405. * [[:                                   Move Commands.
  406. * [] <1>:                               Move Commands.
  407. * []:                                   New Commands.
  408. * \:                                    New Commands.
  409. * ]<a-z> <1>:                           Mapping.
  410. * ]<a-z> <1>:                           Yanking.
  411. * ]<a-z> <1>:                           Appending Text.
  412. * ]<a-z> <1>:                           Move Commands.
  413. * ]<a-z>:                               New Commands.
  414. * ]]:                                   Move Commands.
  415. * ^:                                    Move Commands.
  416. * _ <1>:                                Emacs Related Commands.
  417. * _ <1>:                                New Commands.
  418. * _:                                    Vi State.
  419. * `<a-z> <1>:                           Marking.
  420. * `<a-z>:                               Move Commands.
  421. * " <1>:                                Marking.
  422. * ":                                    Move Commands.
  423. * A:                                    Appending Text.
  424. * B:                                    Move Commands.
  425. * C-] <1>:                              New Commands.
  426. * C-]:                                  Vi State.
  427. * C-^:                                  File and Buffer Handling.
  428. * C-b:                                  Display.
  429. * C-c / <1>:                            Move Commands.
  430. * C-c / <1>:                            New Commands.
  431. * C-c /:                                Vi State.
  432. * C-c g:                                New Commands.
  433. * C-c M-n <1>:                          Changing Text.
  434. * C-c M-n <1>:                          Appending Text.
  435. * C-c M-n:                              New Commands.
  436. * C-c M-p <1>:                          Changing Text.
  437. * C-c M-p <1>:                          Appending Text.
  438. * C-c M-p:                              New Commands.
  439. * C-c <1>:                              New Commands.
  440. * C-c:                                  Vi State.
  441. * C-d:                                  Display.
  442. * C-e:                                  Display.
  443. * C-f:                                  Display.
  444. * C-g <1>:                              Display.
  445. * C-g <1>:                              New Commands.
  446. * C-g:                                  Vi State.
  447. * C-h:                                  Move Commands.
  448. * C-l:                                  Display.
  449. * C-n:                                  Move Commands.
  450. * C-p:                                  Move Commands.
  451. * C-u <1>:                              Display.
  452. * C-u:                                  Editing in Insert State.
  453. * C-v <1>:                              Editing in Insert State.
  454. * C-v:                                  New Commands.
  455. * C-w:                                  Editing in Insert State.
  456. * C-x0:                                 Emacs Related Commands.
  457. * C-x1:                                 Emacs Related Commands.
  458. * C-x2:                                 Emacs Related Commands.
  459. * C-xC-f:                               Emacs Related Commands.
  460. * C-xo:                                 Emacs Related Commands.
  461. * C-x <1>:                              New Commands.
  462. * C-x:                                  Vi State.
  463. * C-y <1>:                              Emacs Related Commands.
  464. * C-y:                                  Display.
  465. * C-z <1>:                              Emacs Related Commands.
  466. * C-z <1>:                              Emacs State.
  467. * C-z:                                  States in Viper.
  468. * c<move>:                              Changing Text.
  469. * cc:                                   Changing Text.
  470. * C:                                    Changing Text.
  471. * d<move>:                              Deleting Text.
  472. * dd:                                   Deleting Text.
  473. * D:                                    Deleting Text.
  474. * ESC:                                  States in Viper.
  475. * E:                                    Move Commands.
  476. * F<char>:                              Move Commands.
  477. * g<move>:                              Search and Replace.
  478. * G:                                    Move Commands.
  479. * H:                                    Move Commands.
  480. * i <1>:                                Appending Text.
  481. * i:                                    States in Viper.
  482. * J:                                    Changing Text.
  483. * j:                                    Move Commands.
  484. * k:                                    Move Commands.
  485. * L:                                    Move Commands.
  486. * m,:                                   Marking.
  487. * M-n:                                  New Commands.
  488. * M-p:                                  New Commands.
  489. * M-y:                                  Emacs Related Commands.
  490. * m.:                                   Marking.
  491. * m<a-z> <1>:                           Yanking.
  492. * m<a-z> <1>:                           Marking.
  493. * m<a-z>:                               Move Commands.
  494. * m<:                                   Marking.
  495. * m>:                                   Marking.
  496. * meta button1up:                       Mouse-bound Commands.
  497. * meta button2up:                       Mouse-bound Commands.
  498. * meta shift button1up:                 Viper Specials.
  499. * meta shift button2up:                 Viper Specials.
  500. * M:                                    Move Commands.
  501. * N <1>:                                Search and Replace.
  502. * N:                                    Move Commands.
  503. * O:                                    Appending Text.
  504. * P <1>:                                Yanking.
  505. * P:                                    Appending Text.
  506. * Q <1>:                                Search and Replace.
  507. * Q:                                    New Commands.
  508. * r<char>:                              Changing Text.
  509. * R:                                    Changing Text.
  510. * S-mouse-1 <1>:                        Mouse-bound Commands.
  511. * S-mouse-1:                            Viper Specials.
  512. * S-mouse-2 <1>:                        Mouse-bound Commands.
  513. * S-mouse-2:                            Viper Specials.
  514. * S:                                    Changing Text.
  515. * T<char>:                              Move Commands.
  516. * U:                                    Undoing.
  517. * u:                                    Vi State.
  518. * v <1>:                                File and Buffer Handling.
  519. * v:                                    New Commands.
  520. * W:                                    Move Commands.
  521. * X:                                    Deleting Text.
  522. * y<move>:                              Yanking.
  523. * yank:                                 Yanking.
  524. * yy:                                   Yanking.
  525. * Y:                                    Yanking.
  526. * z-:                                   Display.
  527. * z.:                                   Display.
  528. * z<cr>:                                Display.
  529. * zH:                                   Display.
  530. * zL:                                   Display.
  531. * zM:                                   Display.
  532. * ZZ:                                   File and Buffer Handling.
  533. * |:                                    Move Commands.
  534. * ~:                                    Changing Text.
  535. File: viper,  Node: Function Index,  Next: Variable Index,  Prev: Key Index,  Up: Top
  536. Function Index
  537. **************
  538. * Menu:
  539. * add-hook:                             Packages that Change Keymaps.
  540. * remove-hook:                          Packages that Change Keymaps.
  541. * vip-add-local-keys:                   Keybindings.
  542. * vip-buffer-search-enable:             Viper Specials.
  543. * vip-describe-kbd-macros:              Vi Macros.
  544. * vip-ex-nontrivial-find-file-ms:       Rudimentary Changes.
  545. * vip-ex-nontrivial-find-file-unix:     Rudimentary Changes.
  546. * vip-harness-minor-mode:               Packages that Change Keymaps.
  547. * vip-modify-major-mode:                Keybindings.
  548. * vip-mouse-click-insert-word:          Viper Specials.
  549. * vip-mouse-click-search-word:          Viper Specials.
  550. * vip-set-expert-level:                 Viper Specials.
  551. * vip-set-hooks:                        Packages that Change Keymaps.
  552. * vip-unrecord-kbd-macro <1>:           Vi Macros.
  553. * vip-unrecord-kbd-macro:               Viper Specials.
  554. * vip-zap-local-keys:                   Keybindings.
  555. * viper-mode:                           Packages that Change Keymaps.
  556. * !!<cmd>:                              Shell Commands.
  557. * !<cmd>:                               Shell Commands.
  558. * !<move><cmd>:                         Shell Commands.
  559. * :!! <args>:                           Shell Commands.
  560. * :!<cmd>:                              Shell Commands.
  561. * :<address>r !<cmd>:                   Shell Commands.
  562. * :<address>r <name>:                   Shell Commands.
  563. * :args <1>:                            File and Buffer Handling.
  564. * :args:                                New Commands.
  565. * :cd [<dir>]:                          File and Buffer Handling.
  566. * :copy [z]:                            Changing Text.
  567. * :e [<files>]:                         File and Buffer Handling.
  568. * :e! [<files>]:                        File and Buffer Handling.
  569. * :e!:                                  Undoing.
  570. * :edit [<files>]:                      File and Buffer Handling.
  571. * :edit! [<files>]:                     File and Buffer Handling.
  572. * :f:                                   File and Buffer Handling.
  573. * :g/<string>/<cmd>:                    Search and Replace.
  574. * :global/<string>/<cmd>:               Search and Replace.
  575. * :k:                                   Marking.
  576. * :map <char> <seq>:                    Mapping.
  577. * :map! <char> <seq>:                   Mapping.
  578. * :map:                                 Keybindings.
  579. * :mark:                                Marking.
  580. * :move [z]:                            Changing Text.
  581. * :n [<count> | <file>]:                File and Buffer Handling.
  582. * :n:                                   New Commands.
  583. * :PreviousRelatedFile <1>:             Viper Specials.
  584. * :PreviousRelatedFile:                 New Commands.
  585. * :pre <1>:                             File and Buffer Handling.
  586. * :pre:                                 New Commands.
  587. * :pwd <1>:                             File and Buffer Handling.
  588. * :pwd:                                 New Commands.
  589. * :q! <1>:                              File and Buffer Handling.
  590. * :q!:                                  Undoing.
  591. * :quit!:                               File and Buffer Handling.
  592. * :quit:                                File and Buffer Handling.
  593. * :q:                                   File and Buffer Handling.
  594. * :read:                                File and Buffer Handling.
  595. * :rec <1>:                             File and Buffer Handling.
  596. * :rec:                                 Undoing.
  597. * :RelatedFile <1>:                     Viper Specials.
  598. * :RelatedFile:                         New Commands.
  599. * :rew:                                 File and Buffer Handling.
  600. * :r:                                   File and Buffer Handling.
  601. * :s/<p>/<r>/<f>:                       Changing Text.
  602. * :set <option>=<value>:                Options.
  603. * :set <option>:                        Options.
  604. * :set ai:                              Options.
  605. * :set autoindent:                      Options.
  606. * :set ic:                              Options.
  607. * :set ignorecase:                      Options.
  608. * :set magic:                           Options.
  609. * :set no<option>:                      Options.
  610. * :set readonly:                        Options.
  611. * :set ro:                              Options.
  612. * :set sh=<string>:                     Options.
  613. * :set shell=<string>:                  Options.
  614. * :set shiftwidth=<count>:              Options.
  615. * :set showmatch:                       Options.
  616. * :set sm:                              Options.
  617. * :set sw=<count>:                      Options.
  618. * :set tab-stop-local=<count>:          Options.
  619. * :set tabstop=<count>:                 Options.
  620. * :set ts=<count>:                      Options.
  621. * :set wm=<count>:                      Options.
  622. * :set wrapmargin=<count>:              Options.
  623. * :set wrapscan:                        Options.
  624. * :set ws:                              Options.
  625. * :set:                                 Rudimentary Changes.
  626. * :sh:                                  Shell Commands.
  627. * :stop:                                File and Buffer Handling.
  628. * :substitute/<p>/<r>/<f> <1>:          Search and Replace.
  629. * :substitute/<p>/<r>/<f>:              Changing Text.
  630. * :susp:                                File and Buffer Handling.
  631. * :t [z]:                               Changing Text.
  632. * :tag <name>:                          Search and Replace.
  633. * :unmap <char>:                        Mapping.
  634. * :unmap! <char>:                       Mapping.
  635. * :v/<string>/<cmd>:                    Search and Replace.
  636. * :w !<cmd>:                            Shell Commands.
  637. * :w <file>:                            File and Buffer Handling.
  638. * :w >> <file>:                         File and Buffer Handling.
  639. * :w! <file>:                           File and Buffer Handling.
  640. * :wq:                                  File and Buffer Handling.
  641. * :write <file>:                        File and Buffer Handling.
  642. * :write >> <file>:                     File and Buffer Handling.
  643. * :write! <file>:                       File and Buffer Handling.
  644. * :Write:                               File and Buffer Handling.
  645. * :WWrite:                              File and Buffer Handling.
  646. * :WW:                                  File and Buffer Handling.
  647. * :W:                                   File and Buffer Handling.
  648. * :x!:                                  File and Buffer Handling.
  649. * :x,y w !<cmd>:                        Shell Commands.
  650. * :x:                                   File and Buffer Handling.
  651. * :yank:                                Yanking.
  652. File: viper,  Node: Variable Index,  Next: Package Index,  Prev: Function Index,  Up: Top
  653. Variable Index
  654. **************
  655. * Menu:
  656. * buffer-read-only:                     Rudimentary Changes.
  657. * ex-cycle-other-window:                Rudimentary Changes.
  658. * ex-cycle-through-non-files:           Rudimentary Changes.
  659. * ex-nontrivial-find-file-function.:    Rudimentary Changes.
  660. * function-key-map:                     Keybindings.
  661. * vip-always <1>:                       Packages that Change Keymaps.
  662. * vip-always:                           Rudimentary Changes.
  663. * vip-auto-indent:                      Rudimentary Changes.
  664. * vip-automatic-iso-accents:            Rudimentary Changes.
  665. * vip-buffer-search-char <1>:           Viper Specials.
  666. * vip-buffer-search-char:               Rudimentary Changes.
  667. * vip-case-fold-search:                 Rudimentary Changes.
  668. * vip-command-ring-size:                Viper Specials.
  669. * vip-custom-file-name:                 Rudimentary Changes.
  670. * vip-delete-backwards-in-replace:      Rudimentary Changes.
  671. * vip-electric-mode:                    Rudimentary Changes.
  672. * vip-emacs-global-user-map:            Keybindings.
  673. * vip-emacs-state-hook:                 Rudimentary Changes.
  674. * vip-ESC-key:                          Rudimentary Changes.
  675. * vip-ex-style-editing-in-insert:       Rudimentary Changes.
  676. * vip-ex-style-motion:                  Rudimentary Changes.
  677. * vip-fast-keyseq-timeout:              Vi Macros.
  678. * vip-insert-global-user-map:           Keybindings.
  679. * vip-insert-state-hook:                Rudimentary Changes.
  680. * vip-insertion-ring-size:              Viper Specials.
  681. * vip-keep-point-on-repeat:             Rudimentary Changes.
  682. * vip-keep-point-on-undo:               Rudimentary Changes.
  683. * vip-keysequence-delay:                Rudimentary Changes.
  684. * vip-multiclick-timeout:               Viper Specials.
  685. * vip-no-multiple-ESC:                  Rudimentary Changes.
  686. * vip-re-query-replace:                 Rudimentary Changes.
  687. * vip-re-search:                        Rudimentary Changes.
  688. * vip-replace-overlay-face:             Rudimentary Changes.
  689. * vip-replace-region-end-symbol:        Rudimentary Changes.
  690. * vip-replace-region-start-symbol:      Rudimentary Changes.
  691. * vip-replace-state-hook:               Rudimentary Changes.
  692. * vip-search-face <1>:                  Rudimentary Changes.
  693. * vip-search-face:                      Improved Search.
  694. * vip-search-wrap-around:               Rudimentary Changes.
  695. * vip-shift-width:                      Rudimentary Changes.
  696. * vip-smart-suffix-list:                Viper Specials.
  697. * vip-spell-function <1>:               Rudimentary Changes.
  698. * vip-spell-function:                   New Commands.
  699. * vip-surrounding-word-function:        Rudimentary Changes.
  700. * vip-syntax-preference <1>:            Groundwork.
  701. * vip-syntax-preference:                Movement and Markers.
  702. * vip-tags-file-name:                   Rudimentary Changes.
  703. * vip-toggle-key:                       Rudimentary Changes.
  704. * vip-vi-global-user-map:               Keybindings.
  705. * vip-vi-state-hook:                    Rudimentary Changes.
  706. * vip-vi-style-in-minibuffer:           Rudimentary Changes.
  707. * vip-want-ctl-h-help:                  Rudimentary Changes.
  708. * vip-want-emacs-keys-in-insert <1>:    Packages that Change Keymaps.
  709. * vip-want-emacs-keys-in-insert:        Rudimentary Changes.
  710. * vip-want-emacs-keys-in-vi <1>:        Packages that Change Keymaps.
  711. * vip-want-emacs-keys-in-vi:            Rudimentary Changes.
  712. File: viper,  Node: Package Index,  Next: Concept Index,  Prev: Variable Index,  Up: Top
  713. Package Index
  714. *************
  715. * Menu:
  716. * ange-ftp.el:                          Useful Packages.
  717. * desktop.el:                           Useful Packages.
  718. * dired.el:                             Useful Packages.
  719. * ediff.el:                             Useful Packages.
  720. * font-lock.el:                         Useful Packages.
  721. * hilit19.el:                           Useful Packages.
  722. * ispell.el:                            Useful Packages.
  723. * vc.el:                                Useful Packages.
  724. File: viper,  Node: Concept Index,  Prev: Package Index,  Up: Top
  725. Concept Index
  726. *************
  727. * Menu:
  728. * # (Previous file) <1>:                Shell Commands.
  729. * # (Previous file):                    Groundwork.
  730. * % (Current file) <1>:                 Shell Commands.
  731. * % (Current file):                     Groundwork.
  732. * % (Ex address) <1>:                   Shell Commands.
  733. * % (Ex address):                       Groundwork.
  734. * .emacs:                               Customization.
  735. * .vip:                                 Customization.
  736. * <a-z>:                                Groundwork.
  737. * <address>:                            Groundwork.
  738. * <args>:                               Groundwork.
  739. * <cmd>:                                Groundwork.
  740. * <cr>:                                 Groundwork.
  741. * <esc>:                                Groundwork.
  742. * <ht>:                                 Groundwork.
  743. * <lf>:                                 Groundwork.
  744. * <move>:                               Groundwork.
  745. * <sp>:                                 Groundwork.
  746. * abbrevs:                              Abbreviation Facilities.
  747. * absolute paths:                       Multiple Files in Viper.
  748. * appending:                            Appending Text.
  749. * auto fill:                            Options.
  750. * auto save:                            Undo and Backups.
  751. * autoindent:                           Options.
  752. * backup files <1>:                     Undoing.
  753. * backup files:                         Undo and Backups.
  754. * buffer:                               Emacs Preliminaries.
  755. * buffer (modified):                    Emacs Preliminaries.
  756. * buffer information:                   Emacs Preliminaries.
  757. * buffer search:                        Improved Search.
  758. * C-c and Viper:                        Packages that Change Keymaps.
  759. * case and searching:                   Options.
  760. * case-insensitive search <1>:          Move Commands.
  761. * case-insensitive search <1>:          New Commands.
  762. * case-insensitive search:              Vi State.
  763. * case-sensitive search <1>:            Move Commands.
  764. * case-sensitive search <1>:            New Commands.
  765. * case-sensitive search:                Vi State.
  766. * changing case <1>:                    Changing Text.
  767. * changing case:                        New Commands.
  768. * changing tab width:                   Options.
  769. * char:                                 Groundwork.
  770. * column movement:                      Move Commands.
  771. * Command history:                      New Commands.
  772. * command line:                         Emacs Preliminaries.
  773. * Command ring:                         New Commands.
  774. * compiling:                            Useful Packages.
  775. * completion:                           Completion.
  776. * Control keys:                         Emacs Preliminaries.
  777. * customization:                        Customization.
  778. * cut and paste:                        Yanking.
  779. * describing regions:                   Basics.
  780. * desktop:                              Useful Packages.
  781. * Destructive command history:          Viper Specials.
  782. * Destructive command ring:             Viper Specials.
  783. * dired:                                Useful Packages.
  784. * dynamic abbrevs:                      Abbreviation Facilities.
  785. * ediff:                                Useful Packages.
  786. * Emacs state <1>:                      Emacs State.
  787. * Emacs state:                          States in Viper.
  788. * email:                                Useful Packages.
  789. * end (of buffer):                      Emacs Preliminaries.
  790. * end (of line):                        Emacs Preliminaries.
  791. * Ex addresses:                         Groundwork.
  792. * Ex commands <1>:                      Vi State.
  793. * Ex commands:                          States in Viper.
  794. * Ex style motion:                      Movement and Markers.
  795. * expanding (region):                   Basics.
  796. * font-lock:                            Useful Packages.
  797. * global keymap:                        Emacs Preliminaries.
  798. * headings <1>:                         Move Commands.
  799. * headings:                             Viper Specials.
  800. * hilit19:                              Useful Packages.
  801. * history:                              History.
  802. * incremental search:                   Improved Search.
  803. * initialization:                       Customization.
  804. * Insert state <1>:                     Editing in Insert State.
  805. * Insert state <1>:                     Insert State.
  806. * Insert state:                         States in Viper.
  807. * inserting:                            Appending Text.
  808. * Insertion history:                    New Commands.
  809. * Insertion ring <1>:                   Viper Specials.
  810. * Insertion ring:                       New Commands.
  811. * interactive shell:                    Useful Packages.
  812. * ispell:                               Useful Packages.
  813. * joining lines:                        Changing Text.
  814. * keybindings <1>:                      Mapping.
  815. * keybindings:                          Keybindings.
  816. * keyboard macros <1>:                  New Commands.
  817. * keyboard macros:                      Macros and Registers.
  818. * keymap:                               Emacs Preliminaries.
  819. * keymapping:                           Mapping.
  820. * keymaps:                              Keybindings.
  821. * last keyboard macro:                  Macros and Registers.
  822. * layout:                               Options.
  823. * line commands <1>:                    Groundwork.
  824. * line commands:                        Basics.
  825. * line editor motion:                   Movement and Markers.
  826. * literal searching:                    Options.
  827. * local keymap:                         Emacs Preliminaries.
  828. * looking at:                           Emacs Preliminaries.
  829. * macros:                               Macros and Registers.
  830. * mail:                                 Useful Packages.
  831. * major mode:                           Emacs Preliminaries.
  832. * make:                                 Useful Packages.
  833. * managing multiple files:              Multiple Files in Viper.
  834. * mark:                                 Emacs Preliminaries.
  835. * markers <1>:                          Move Commands.
  836. * markers <1>:                          Undo and Backups.
  837. * markers:                              Multiple Files in Viper.
  838. * marking:                              Marking.
  839. * matching parens <1>:                  Options.
  840. * matching parens:                      Move Commands.
  841. * Meta key <1>:                         Insert State.
  842. * Meta key <1>:                         Vi State.
  843. * Meta key:                             Emacs Preliminaries.
  844. * Minibuffer <1>:                       History.
  845. * Minibuffer <1>:                       The Minibuffer.
  846. * Minibuffer:                           Emacs Preliminaries.
  847. * minor mode:                           Emacs Preliminaries.
  848. * mode:                                 Emacs Preliminaries.
  849. * mode line <1>:                        States in Viper.
  850. * mode line:                            Emacs Preliminaries.
  851. * mouse:                                Viper Specials.
  852. * mouse search:                         Improved Search.
  853. * movement commands <1>:                Move Commands.
  854. * movement commands:                    Basics.
  855. * movements:                            Groundwork.
  856. * Multifile documents and programs:     Viper Specials.
  857. * multiple files <1>:                   File and Buffer Handling.
  858. * multiple files:                       Multiple Files in Viper.
  859. * multiple undo:                        Vi State.
  860. * paragraphs <1>:                       Move Commands.
  861. * paragraphs:                           Viper Specials.
  862. * paren matching <1>:                   Options.
  863. * paren matching:                       Move Commands.
  864. * paste <1>:                            Yanking.
  865. * paste:                                Appending Text.
  866. * point:                                Emacs Preliminaries.
  867. * point commands <1>:                   Groundwork.
  868. * point commands:                       Basics.
  869. * put:                                  Appending Text.
  870. * query replace <1>:                    New Commands.
  871. * query replace:                        Improved Search.
  872. * quoting regions:                      Changing Text.
  873. * r and R region specifiers <1>:        Groundwork.
  874. * r and R region specifiers:            Basics.
  875. * RCS:                                  Useful Packages.
  876. * readonly files:                       Options.
  877. * region <1>:                           Basics.
  878. * region:                               Emacs Preliminaries.
  879. * region specification:                 Basics.
  880. * register execution <1>:               New Commands.
  881. * register execution:                   Macros and Registers.
  882. * registers <1>:                        Macros and Registers.
  883. * registers <1>:                        Undo and Backups.
  884. * registers:                            Multiple Files in Viper.
  885. * regular expressions:                  Vi State.
  886. * Replace state <1>:                    Replace State.
  887. * Replace state:                        States in Viper.
  888. * scrolling:                            Display.
  889. * searching <1>:                        Options.
  890. * searching:                            Move Commands.
  891. * sections <1>:                         Move Commands.
  892. * sections:                             Viper Specials.
  893. * sentences <1>:                        Move Commands.
  894. * sentences:                            Viper Specials.
  895. * setting variables:                    Rudimentary Changes.
  896. * shell <1>:                            Options.
  897. * shell:                                Useful Packages.
  898. * shell commands:                       Shell Commands.
  899. * shifting text <1>:                    Options.
  900. * shifting text:                        Deleting Text.
  901. * substitution:                         Changing Text.
  902. * syntax table <1>:                     Groundwork.
  903. * syntax table:                         Movement and Markers.
  904. * tabbing:                              Options.
  905. * text:                                 Emacs Preliminaries.
  906. * text processing:                      Search and Replace.
  907. * textmarkers <1>:                      Move Commands.
  908. * textmarkers <1>:                      Movement and Markers.
  909. * textmarkers <1>:                      Undo and Backups.
  910. * textmarkers:                          Multiple Files in Viper.
  911. * transparent ftp:                      Useful Packages.
  912. * undo <1>:                             Undoing.
  913. * undo <1>:                             Undo and Backups.
  914. * undo:                                 Vi State.
  915. * vanilla search <1>:                   Move Commands.
  916. * vanilla search <1>:                   New Commands.
  917. * vanilla search:                       Vi State.
  918. * variables for customization:          Rudimentary Changes.
  919. * version maintenance:                  Useful Packages.
  920. * Vi macros:                            Vi Macros.
  921. * Vi options:                           Options.
  922. * Vi state <1>:                         Vi State.
  923. * Vi state:                             States in Viper.
  924. * viewing registers and markers <1>:    Macros and Registers.
  925. * viewing registers and markers:        Undo and Backups.
  926. * Viper and C-c:                        Packages that Change Keymaps.
  927. * Viper as minor mode:                  Emacs Preliminaries.
  928. * window:                               Emacs Preliminaries.
  929. * word search:                          Improved Search.
  930. * word wrap:                            Options.
  931. * words:                                Groundwork.
  932.